package com.moxiao.yfjh.module.blind.controller.app.controller.user.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * @version 1.0
 * @Author zhk
 * @Date 2024/1/11 16:55
 **/

@Schema(description = "用户 APP - 手机微信登录 Request VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AppWechatLoginReqVo {
    @Schema(description = "登录 code,小程序通过 wx.login 方法获得", requiredMode = Schema.RequiredMode.REQUIRED, example = "word")
    @NotEmpty(message = "登录 code 不能为空")
    private String loginCode;
}
